package com.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description:
 * @author: wu linchun
 * @time: 2021/4/4 20:18
 */
@Data   //@Data注解中包含了@Getter、@Setter、@ToString、@EqualsAndHashCode等很多注解的功能（需先引入lombok依赖
@AllArgsConstructor   //全参构造函数
@NoArgsConstructor   //无参构造函数
public class User {
    private String username;
    private String password;
    private String power;
    private int id;
}
